#!/bin/bash
# 启动service
run_service() {
  	res=$(docker ps | grep 106.55.162.107:1681/test_go/test_go-api |  awk '{print $1}')
	  if [[ $res != '' ]]; then
	        docker stop  $res
	        echo 1
	  else
	        echo 0
	  fi
}
run_service

